package com.ruoyi.thgd.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 退化耕地- PH -传感器对象 thgd_ph_cgq
 *
 * @author chenhs
 * @date 2024-09-11
 */
public class ThgdPhCgq extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 数据主键 */
    private Integer id;

    /** 记录编号 */
    @Excel(name = "记录编号")
    private String phId;

    /** 样点编号 */
    @Excel(name = "样点编号")
    private String rid;

    /** pH */
    @Excel(name = "pH")
    private String ph;

    /** 电导率 */
    @Excel(name = "电导率")
    private String ddl;

    /** 土壤重量 */
    @Excel(name = "土壤重量")
    private String weight;

    /** 水容量 */
    @Excel(name = "水容量")
    private String watervol;

    /** 点位上传状态 */
    @Excel(name = "点位上传状态")
    private String status;

    /**含盐量 */
    private String saltness;

    public void setId(Integer id)
    {
        this.id = id;
    }

    public Integer getId()
    {
        return id;
    }
    public void setPhId(String phId)
    {
        this.phId = phId;
    }

    public String getPhId()
    {
        return phId;
    }
    public void setRid(String rid)
    {
        this.rid = rid;
    }

    public String getRid()
    {
        return rid;
    }
    public void setPh(String ph)
    {
        this.ph = ph;
    }

    public String getPh()
    {
        return ph;
    }
    public void setDdl(String ddl)
    {
        this.ddl = ddl;
    }

    public String getDdl()
    {
        return ddl;
    }
    public void setWeight(String weight)
    {
        this.weight = weight;
    }

    public String getWeight()
    {
        return weight;
    }
    public void setWatervol(String watervol)
    {
        this.watervol = watervol;
    }

    public String getWatervol()
    {
        return watervol;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }

    public String getSaltness() {
        return saltness;
    }

    public void setSaltness(String saltness) {
        this.saltness = saltness;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("phId", getPhId())
            .append("rid", getRid())
            .append("ph", getPh())
            .append("ddl", getDdl())
            .append("weight", getWeight())
            .append("watervol", getWatervol())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
